

import { RouterModule } from '@angular/router';

import { AppComponent } from './app.component';

import { Link1Component } from './link1/link1.component';
import { NgModel } from '@angular/forms/src/directives/ng_model';



export const appRoutes = [
    {
        path: ' ',
        component: AppComponent
    },
    {
        path: 'link1',
        component: Link1Component
    },
    {
        path: '**',
        redirectTo: '/',
        pathMatch: 'full'
    }
];


